import React from 'react';
import type { PaginationProps } from 'antd';
import { Pagination } from 'antd';

const onChange: PaginationProps['onChange'] = (pageNumber) => {
  console.log('Page: ', pageNumber);
};

const Footpage: React.FC = () => (
  <>
    <Pagination 
    // showQuickJumper
    defaultCurrent={1} 
    total={300} 
    // showTotal={(total) => `共 ${total} 条数据`} 
    onChange={onChange} 
    align='center'
    />
    
  </>
);

export default Footpage;